void Port_Init(GPIO_TypeDef *      GPIOx, 
               Uint                pNum, 
               GPIOSpeed_TypeDef   speed,
               Uint                mode );

void delaycnt();
void PtrNum2PortC(unsigned n);